//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Club Saltburn','Live in the Atrium at The Catalyst','Santa Cruz, CA','Thursday','5/16/2024','9:00 PM','6379937','Club-Saltburn-5-16-2024'],['Friko & Mind's Eye','Live in the Atrium at The Catalyst','Santa Cruz, CA','Friday','5/17/2024','9:00 PM','6307794','Friko---Mind-s-Eye-5-17-2024'],['Allan Rayman','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','5/18/2024','9:00 PM','6321346','Allan-Rayman-5-18-2024'],['Ill Maxime','Live in the Atrium at The Catalyst','Santa Cruz, CA','Sunday','5/19/2024','7:45 PM','6399942','Ill-Maxime-5-19-2024'],['Bodybox','Live in the Atrium at The Catalyst','Santa Cruz, CA','Tuesday','5/21/2024','7:30 PM','6399943','Bodybox-5-21-2024'],['Windser','Live in the Atrium at The Catalyst','Santa Cruz, CA','Thursday','5/23/2024','9:00 PM','6379934','Windser-5-23-2024'],['Spooky Mansion','Live in the Atrium at The Catalyst','Santa Cruz, CA','Friday','5/24/2024','8:30 PM','6399944','Spooky-Mansion-5-24-2024'],['1100 Himself','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','5/25/2024','9:00 PM','6379936','1100-Himself-5-25-2024'],['Yard Act','Live in the Atrium at The Catalyst','Santa Cruz, CA','Monday','6/3/2024','8:00 PM','6132823','Yard-Act-6-3-2024'],['Faetooth','Live in the Atrium at The Catalyst','Santa Cruz, CA','Tuesday','6/4/2024','8:00 PM','6399945','Faetooth-6-4-2024'],['Fenix Flexin','Live in the Atrium at The Catalyst','Santa Cruz, CA','Wednesday','6/5/2024','8:00 PM','6418507','Fenix-Flexin-6-5-2024'],['Arrows In Action','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','6/8/2024','7:00 PM','6316991','Arrows-In-Action-6-8-2024'],['John Mackk','Live in the Atrium at The Catalyst','Santa Cruz, CA','Friday','6/21/2024','9:00 PM','6399946','John-Mackk-6-21-2024'],['System of a Clown - System Of a Down Tribute','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','6/22/2024','8:00 PM','6399947','System-of-a-Clown---System-Of-a-Down-Tribute-6-22-2024'],['Bennett Coast','Live in the Atrium at The Catalyst','Santa Cruz, CA','Wednesday','7/17/2024','8:00 PM','6420168','Bennett-Coast-7-17-2024'],['Dexter and The Moonrocks','Live in the Atrium at The Catalyst','Santa Cruz, CA','Thursday','7/18/2024','8:00 PM','6360184','Dexter-and-The-Moonrocks-7-18-2024'],['Pallbearer','Live in the Atrium at The Catalyst','Santa Cruz, CA','Friday','7/26/2024','8:00 PM','6331653','Pallbearer-7-26-2024'],['Iglu & Hartly','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','8/10/2024','9:00 PM','6399117','Iglu---Hartly-8-10-2024'],['Dana and Alden','Live in the Atrium at The Catalyst','Santa Cruz, CA','Wednesday','10/2/2024','9:00 PM','6358692','Dana-and-Alden-10-2-2024'],['Bodega','Live in the Atrium at The Catalyst','Santa Cruz, CA','Sunday','11/3/2024','8:00 PM','6394446','Bodega-11-3-2024'],['Stop Light Observations','Live in the Atrium at The Catalyst','Santa Cruz, CA','Thursday','11/7/2024','8:00 PM','6406800','Stop-Light-Observations-11-7-2024']],'The Catalyst Atrium','http://www.ticketnetwork.com/ticket/The-Catalyst-Atrium-events.aspx');